package ru.amse.tsyganov.jumleditor.main;

import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.custom.CLabel;

import ru.amse.tsyganov.jumleditor.view.preferences.Images;

public class ErrMsg {

	private Shell sShell = null;
	private Label imageLabel = null;
	private Label messageLabel = null;
	/**
	 * This method initializes sShell
	 */
	private void createSShell() {
		GridLayout gridLayout = new GridLayout();
		gridLayout.numColumns = 2;
		sShell = new Shell();
		sShell.setText("Shell");
		sShell.setLayout(gridLayout);
		sShell.setSize(new Point(300, 200));
		imageLabel = new Label(sShell, SWT.NONE);
		imageLabel.setImage(Images.getErrorImage());
		messageLabel = new Label(sShell, SWT.NONE);
		messageLabel.setText("Label");
	}

}
